package com.brillilab.dao.mapper.experiments;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.experiments.ExperimentGroup;
import com.brillilab.domain.vo.experiments.ExperimentGroupListVo;

import java.util.List;

/**
 * <p>
 * 实验分组 Mapper 接口
 * </p>
 *
 * @author WuMenghao
 * @since 2019-09-05
 */
public interface ExperimentGroupMapper extends BaseMapper<ExperimentGroup> {

    List<ExperimentGroupListVo> selectByTopicTargetId(Long topicTargetId);

    int deleteByBatch(List<Long> ids);

    int updateByBatch(List<ExperimentGroup> updateList);

    int insertByBatch(List<ExperimentGroup> insertList);
}
